//
// Created by Administrator on 2024/10/31.
//

#ifndef AI_PACS_SHCMA_H
#define AI_PACS_SHCMA_H

#include <iostream>
#include <vector>
#include <variant>

using json = nlohmann::json;

struct ArchiveReq {
    std::string requestId;
    std::string hospCode;
    std::string studyUID;
    std::string notifyUrl;
    std::string fileType;
    std::vector<std::string> files;
public:
    NLOHMANN_DEFINE_TYPE_INTRUSIVE(ArchiveReq, requestId, hospCode, studyUID, notifyUrl, fileType, files);
};

struct ArcNotice {
    std::string requestId;
    std::string studyUID;
    std::string message;
    int status;
public:
    NLOHMANN_DEFINE_TYPE_INTRUSIVE(ArcNotice, requestId, studyUID, message, status);
};

#endif //AI_PACS_SHCMA_H
